import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
// 引入全局样式]
import "./assets/css/global.scss";
import "./assets/css/rest.scss";
import "./assets/css/font.less";
import "./assets/iconfont/iconfont.css";
import "./assets/bgiconfont/iconfont.css";
//引入ElementUI插件
import ElementUI from "element-ui";
// import "element-ui/lib/theme-chalk/index.css";
import "./assets/theme/index.css"
import resDomain from '@/utils/resDomain'
Vue.prototype.$resDomain = resDomain;
Vue.use(ElementUI);
// 引入echarts
import echarts from "echarts";
Vue.prototype.$echarts = echarts;

import animated from "animate.css";
Vue.use(animated);
import {
  Progress
} from "view-design";
import "view-design/dist/styles/iview.css";
Vue.component("Progress", Progress);
// 引入video.js
import "video.js/dist/video-js.css";
import moment from "moment"; //导入文件
Vue.prototype.$moment = moment;
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'
Vue.use(VueAwesomeSwiper)
// 引入富文本组件
import QuillEditor from 'vue-quill-editor'
// 引入富文本组件样式
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
// import Quill from 'quill'
// import ImageResize from 'quill-image-resize-module'; //添加

// Quill.register('modules/imageResize', ImageResize) // 注册

Vue.use(QuillEditor)




Vue.config.productionTip = false;



new Vue({
  router,
  store,
  render: (h) => h(App),
  beforeCreate() {
    // 需要在全局添加一个属性
    Vue.prototype.$bus = this;
  },
}).$mount("#app");